package Package1;
import java.util.Scanner;
//switch(),括号的内容可以是byte,short,int,char,枚举类型,字符串类型
//case后面的常量值必须是与switch()括号中的类型一致的,且不能重复
//default可以省略,但是不建议省略
//break可以省略,但是不建议省略
//default语句可以放在任意位置,但是建议放在最后
public class Test {
    public static void main(String[] args) {
        char[] test = new char[10];
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个数字:");
        String M = scanner.next();
        

        Student.schoolName = "清华大学";
        Student student = new Student("张三", 18, "男", "20210101");
        StudentTest.test1(student);

        Student student1 = new Student1();
        student1.setName("李四");



        Package2.SSS sss = new Package2.SSS(1, 2, 3);
        System.out.println(sss.getA());
        System.out.println(sss.getB());
        System.out.println(sss.getC());

        Object o = new Object();
        System.out.println(o.toString());
    }

    public static void test1(){
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个数字:");
        int num = scanner.nextInt();
    }
}
